﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 最新贷款信息
    /// </summary>
    [Table("JIUSHI_NEWNEEDS")]
    public class NewneedsEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }

        /// <summary>
        /// 贷款描述
        /// </summary>
        [Column("F_TITLE")]
        [MaxLength(65535)]
        public string Title { get; set; }

        /// <summary>
        /// 排序码
        /// </summary>
        [Column("F_SORTCODE")]
        public int? SortCode { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column("F_DESCRIPTION")]
        [MaxLength(65535)]
        public string Description { get; set; }

        /// <summary>
        /// 上传素材时间
        /// </summary>
        [Column("F_UPLOADDATE")]
        public DateTime? UploadDate { get; set; }

        /// <summary>
        /// 上传素材用户
        /// </summary>
        [Column("F_UPLOADUSER")]
        [MaxLength(50)]
        public string UploadUser { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        [Column("F_ENABLEDMARK")]
        public int? EnabledMark { get; set; }


    }
}
